package com.agrm.rabc.service;

import com.agrm.model.rabc.dto.Role;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface RoleService {
    Page<Role> findAll(Role role, Page<Role> page);

    Role findById(Integer id);

    boolean save(Role role);

    boolean update(Role role);

    int deleteByIds(List<Integer> ids);
}
